import { createApp } from 'vue'
import router from './router'
import { store } from '@/store'
import 'reset-css'
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import * as echarts from 'echarts'
import App from './App.vue'
import './assets/css/font.css'
// import './assets/css/iconfont.css'
import './assets/iconfont/iconfont.css'

import Vue3JsonExcel from 'vue3-json-excel'

const app = createApp(App)

app.provide('$echarts', echarts)

app
  .use(router)
  .use(store)
  .use(ElementPlus, { locale: zhCn })
  .use(Vue3JsonExcel)
  .mount('#app')
  
